import Vapor
import Fluent

import Foundation
final class AdvancedBuilding: Model, Content {
    static let schema: String = "advancedbuilding"
    
    @ID
    public var id: UUID?
    
    @Field(key: "ownersEMailAddress")
    public var ownersEMailAddress: String?
    
    @Field(key: "demo")
    public var demo: Bool
    
    @OptionalField(key: "tag")
    public var tag: String?
    
    @OptionalField(key: "customLogoID")
    public var customLogoID: String?
    
    @Field(key: "positionX")
    public var positionX: Double
    
    @Field(key: "positionY")
    public var positionY: Double
    
    @Field(key: "name")
    public var name: String?
    
    @Field(key: "width")
    public var width: Double
    
    @Field(key: "length")
    public var length: Double
    
    @Field(key: "height")
    public var height: Double
    
    @Field(key: "pitch")
    public var pitch: Double
    
    @Field(key: "wallTickness")
    public var wallTickness: Double
    
    @Field(key: "floorOverlappingBuildingSize")
    public var floorOverlappingBuildingSize: Double
    
    @Field(key: "floorTickness")
    public var floorTickness: Double
    
    @Field(key: "roofTickness")
    public var roofTickness: Double
    
    @Field(key: "roofOverhangSide")
    public var roofOverhangSide: Double
    
    @Field(key: "roofOverhangFrontRear")
    public var roofOverhangFrontRear: Double
    
    @Field(key: "highPressureCooling")
    public var highPressureCooling: Bool
    
    @Field(key: "distanceWallHeaters")
    public var distanceWallHeaters: Double
    
    @Field(key: "sideModeExhaustSystemEnumInt")
    public var sideModeExhaustSystemEnumInt: Int16
    
    @Field(key: "ventilationSystemEnumInt")
    public var ventilationSystemEnumInt: Int16
    
    @Field(key: "sideDogHouseLength")
    public var sideDogHouseLength: Double
    
    @Field(key: "numberOfHeaters")
    public var numberOfHeaters: Int16
    
    @Field(key: "numberOfInlets")
    public var numberOfInlets: Int16
    
    @Field(key: "dogHouseSide")
    public var dogHouseSide: Bool
    
    @Field(key: "dogHouseFront")
    public var dogHouseFront: Bool
    
    @Field(key: "numberOfFansSide")
    public var numberOfFansSide: Int16
    
    @Field(key: "numberOfFansEnd")
    public var numberOfFansEnd: Int16
    
    @Field(key: "numberOfChimneys")
    public var numberOfChimneys: Int16
    
    @Field(key: "numberOfRowsOfInlets")
    public var numberOfRowsOfInlets: Int16
    
    @Field(key: "tunnelAirspeed")
    public var tunnelAirspeed: Double
    
    @Field(key: "animalTypeEnumInt")
    public var animalTypeEnumInt: Int16
    
    @Field(key: "animalWeight")
    public var animalWeight: Double
    
    @Field(key: "numberAnimals")
    public var numberAnimals: Int64
    
    @Field(key: "numberOfFeedingBins")
    public var numberOfFeedingBins: Int16
    
    @Field(key: "controlPanelSupplier")
    public var controlPanelSupplier: Int16
    
    @Field(key: "serviceRoom")
    public var serviceRoom: Bool
    
    @Field(key: "serviceRoomHeight")
    public var serviceRoomHeight: Double
    
    @Field(key: "serviceRoomWidth")
    public var serviceRoomWidth: Double
    
    @Field(key: "serviceRoomLength")
    public var serviceRoomLength: Double
    
    @Field(key: "serviceRoomDoorHeight")
    public var serviceRoomDoorHeight: Double
    
    @Field(key: "cages_cages")
    public var cages_cages: Bool
    
    @Field(key: "cages_name")
    public var cages_name: String?
    
    @Field(key: "cages_sectionLength")
    public var cages_sectionLength: Double
    
    @Field(key: "cages_sectionWidth")
    public var cages_sectionWidth: Double
    
    @Field(key: "cages_sectionHeight")
    public var cages_sectionHeight: Double
    
    @Field(key: "cages_startLength")
    public var cages_startLength: Double
    
    @Field(key: "cages_endLength")
    public var cages_endLength: Double
    
    @Field(key: "cages_bottomHeight")
    public var cages_bottomHeight: Double
    
    @Field(key: "cages_extensionDueToCatwalkPartHeight")
    public var cages_extensionDueToCatwalkPartHeight: Double
    
    @Field(key: "cages_catWalkHeigth")
    public var cages_catWalkHeigth: Double
    
    @Field(key: "cages_startPositionCagesIntoTheWidth")
    public var cages_startPositionCagesIntoTheWidth: Double
    
    @Field(key: "cages_startPositionCagesIntoTheLength")
    public var cages_startPositionCagesIntoTheLength: Double
    
    @Field(key: "cages_NumberOfSections")
    public var cages_NumberOfSections: Int16
    
    @Field(key: "cages_NumberOfTiersRow01")
    public var cages_NumberOfTiersRow01: Int16
    
    @Field(key: "cages_NumberOfTiersRow02")
    public var cages_NumberOfTiersRow02: Int16
    
    @Field(key: "cages_NumberOfTiersRow03")
    public var cages_NumberOfTiersRow03: Int16
    
    @Field(key: "cages_NumberOfTiersRow04")
    public var cages_NumberOfTiersRow04: Int16
    
    @Field(key: "cages_NumberOfTiersRow05")
    public var cages_NumberOfTiersRow05: Int16
    
    @Field(key: "cages_NumberOfTiersRow06")
    public var cages_NumberOfTiersRow06: Int16
    
    @Field(key: "cages_NumberOfTiersRow07")
    public var cages_NumberOfTiersRow07: Int16
    
    @Field(key: "cages_NumberOfTiersRow08")
    public var cages_NumberOfTiersRow08: Int16
    
    @Field(key: "cages_NumberOfTiersRow09")
    public var cages_NumberOfTiersRow09: Int16
    
    @Field(key: "cages_NumberOfTiersRow10")
    public var cages_NumberOfTiersRow10: Int16
    
    @Field(key: "cages_NumberOfTiersRow11")
    public var cages_NumberOfTiersRow11: Int16
    
    @Field(key: "cages_NumberOfTiersRow12")
    public var cages_NumberOfTiersRow12: Int16
    
    @Field(key: "cages_catwalk1AboveTier")
    public var cages_catwalk1AboveTier: Int16
    
    @Field(key: "cages_catwalk2AboveTier")
    public var cages_catwalk2AboveTier: Int16
    
    init() {
        
    }
    
}
